package com.ourchem.bus.dto;

import com.ourchem.data.api.query.QueryParam;


/**
 * 检索接口接收的对象
 */

public class QueryParamDTO extends QueryParam  {

    private boolean translation;

    /**
     * 公开号(编码后的公开号)
     */
    private String pn;

    /**
     * 是否分析
     */

    private boolean analysis = false;

    /**
     * 是否检索
     */

    private boolean search = false;
    /**
     * 是否是详情页面
     */

    private boolean details = false;

    /**
     * 收藏夹ID
     */

    private String favoritesId;

    /**
     * 是否是二次筛选
     */

    private boolean secondSieve = false;


    private boolean familyExpand = false;


    private int familyExpandCount;

    private String condition;

    public String getCondition() {
        return condition;
    }

    public void setCondition(String condition) {
        this.condition = condition;
    }

    public void setFavoritesId(String favoritesId) {
        this.favoritesId = favoritesId;
    }

    public boolean isTranslation() {
        return translation;
    }

    public void setTranslation(boolean translation) {
        this.translation = translation;
    }

    public String getPn() {
        return pn;
    }

    public void setPn(String pn) {
        this.pn = pn;
    }

    public boolean isAnalysis() {
        return analysis;
    }

    public void setAnalysis(boolean analysis) {
        this.analysis = analysis;
    }

    public boolean isSearch() {
        return search;
    }

    public void setSearch(boolean search) {
        this.search = search;
    }

    public boolean isDetails() {
        return details;
    }

    public void setDetails(boolean details) {
        this.details = details;
    }

    public String getFavoritesId() {
        return favoritesId;
    }

    public boolean isSecondSieve() {
        return secondSieve;
    }

    public void setSecondSieve(boolean secondSieve) {
        this.secondSieve = secondSieve;
    }

    public boolean isFamilyExpand() {
        return familyExpand;
    }

    public void setFamilyExpand(boolean familyExpand) {
        this.familyExpand = familyExpand;
    }

    public int getFamilyExpandCount() {
        return familyExpandCount;
    }

    public void setFamilyExpandCount(int familyExpandCount) {
        this.familyExpandCount = familyExpandCount;
    }
}
